class CuteDog:
    def __init__(self,dog_name,dog_age,dog_breed):
        self.name = dog_name
        self.age = dog_age
        self.breed = dog_breed

#创建对象
dog1 = CuteDog("huanghuang", 1, "gaolang")  #self参数不用手动赋值
print(f"小狗{dog1.name}是年龄{dog1.age}的{dog1.breed}")